<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MyStack.Models.MailView>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Mail
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%= Html.ValidationSummary("Create was unsuccessful. Please correct the errors and try again.") %>
    <% using (Html.BeginForm())
       {%>
    <h2>
        Feedback</h2>
    <fieldset>
        <legend>Fields</legend>
        <p>
            <label for="Subject">
                Subject:</label>
            <%= Html.TextBox("Subject")%>
            <%= Html.ValidationMessage("Subject", "*")%>
        </p>
        <p>
            <label for="Body">
                Body:</label>
            <%= Html.TextArea("Body")%>
            <%= Html.ValidationMessage("Body", "*")%>
        </p>
        <p>
            <input type="submit" value="Mail" />
        </p>
        
    <% } %>
    </fieldset></asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
